home *** CD-ROM | disk | FTP | other *** search
/ PC Zone 96 / PC Zone #096.7z / Dppcz1200.mdf / Demos / Gunlok / data1.cab / Program_Executable_Files / scripts / yellowlight.gsh < prev   
Text File  |  2000-09-09  |  1KB  |  53 lines

  1. // defines yellow light
  2. ////////////////////////////////////////////////////////////////////////////////////
  3.  
  4. // start wrapper - prevent multiple inclusions or recursive inclusions
  5.  
  6. //(this currently causes 'unrecognized preprocessor directive' warnings, until implemented)
  7. #ifndef INCLUDED_yellow_GSH
  8. #define INCLUDED_yellow_GSH
  9.  
  10. ////////////////////////////////////////////////////////////////////////////////////
  11.  
  12. #include "defaults.gsh"
  13.  
  14. pgenerator Pgn_yellow
  15. {
  16.     type fire
  17.     life infinite
  18.     rate 10
  19.  
  20.     // stream direction
  21.     x    0
  22.     y    -1
  23.     z    0
  24.  
  25.     // particle colour
  26.     red   0.2
  27.     green 0.1
  28.     blue  0.04
  29.     alpha 1
  30. }
  31.  
  32. light Lit_yellow
  33. {
  34.     red             1
  35.     green           0.4
  36.     blue            0.1
  37.     specular red    1
  38.     specular green    0.4
  39.     specular blue    0.1
  40.     range           10
  41. }
  42.  
  43. role Rol_yellow : Rol_PlacedObject
  44. {
  45.     light Lit_yellow
  46.     identifier "yellowlight"
  47. }
  48.  
  49. ////////////////////////////////////////////////////////////////////////////////////
  50.  
  51. // end wrapper - for preventing multiple or recursive inclusions
  52. #endif // !INCLUDED_yellow_GSH
  53.